package org.example.fengzhaosurprisemeal.Fengzhao.controller;

import org.example.fengzhaosurprisemeal.Fengzhao.entity.Restaurant;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;

@RestController
@EnableAutoConfiguration
public class RestaurantController {
    @GetMapping("/hello")
    public String hello(@RequestParam String name) {
        return "Hello!"+name;
    }
}
